package test3;

import java.util.concurrent.Semaphore;

public class Test {

    public static void main(String[] args) {
        Semaphore semaphore = new Semaphore(3);
        for (int i = 0; i < 10; i++) {
            new Tourist(semaphore).start();
        }
    }
}
